package com.acoffee.springcloud.provider.service;

import com.acoffee.springcloud.common.entity.User;

import java.util.List;

/**
 * @author acoffee
 * @create 2022-01-19 17:23
 */
public interface UserService {
    User findById(int id);

    List<User> findAll();

    boolean addUser(User user);

    boolean updateUser(User user);

    boolean deleteUser(int id);
}
